package controller;

import org.newdawn.slick.GameContainer;
import org.newdawn.slick.SlickException;
import org.newdawn.slick.state.StateBasedGame;
import states.Load;
import states.Play;

public class Game extends StateBasedGame {

	public Game() {
		super("Prototype");
	}

	public enum States {
		PLAYSTATE, LOADSTATE
	}

	@Override
	public void initStatesList(GameContainer container) throws SlickException {

		addState(new Play(States.PLAYSTATE.ordinal()));
		addState(new Load(States.LOADSTATE.ordinal()));

		this.enterState(States.PLAYSTATE.ordinal());
	}
}
